package multithreading.threadPool;

import multithreading.ExtendsThread;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class ThreadPool {
    public static void main(String[] args) {
        ExecutorService pool = Executors.newCachedThreadPool();
        pool.submit(new ExtendsThread());
        pool.shutdown();
    }
}
